package edu.ccit.shudong.service;

import edu.ccit.shudong.dto.UserPasswordResetDTO;
import edu.ccit.shudong.dto.UserProfileDTO;
import edu.ccit.shudong.dto.UserRegisterDTO;
import edu.ccit.shudong.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Suting Luo
 * @since 2024-06-14
 */
public interface IUserService extends IService<User> {
    boolean register(UserRegisterDTO userRegisterDTO);
    String login(String username, String password);
    UserProfileDTO getProfileByToken(String token);
    boolean resetPassword(String token, UserPasswordResetDTO passwordResetDTO);
}
